<?php
class daka_userAction extends backendAction
{
    public function _initialize() {
        parent::_initialize();
        $this->_mod = D('daka_user');
    }
    public function index() {
		$list = $this->_mod->order('ordid asc,time desc')->select();
		$this->assign('list', $list);
		$this->display();
    }
    public function _before_add() {
        
        $type = M('daka_user_type')->where('status=1')->select();
        $this->assign('type', $type);
    }
	public function _after_add() {
        
    }
	
    public function _before_insert($data='') {
        
    }

    public function _before_edit() {
        $this->_before_add();
    }

    public function _before_update($data=''){
        
    }

   

}